#pragma once

#include <QObject>
#include <QVector>
#include "port3dapi_global.h"

class PORT3DAPI_EXPORT StringArray:public QObject
{
	Q_OBJECT
		Q_CLASSINFO("ClassID", "{6a7b07b2-98e4-446e-b9d8-954fed28ba39}")
		Q_CLASSINFO("InterfaceID", "{42a89d56-7fdf-443e-af25-3f3dfce944e1}")
		Q_CLASSINFO("EventsID", "{31f06572-e469-498b-b2e5-b7ae41777170}")
public:
	StringArray(QObject *parent = 0);
	StringArray(const StringArray & u);
	~StringArray();
public slots:
	void addValue(const QString& value);
	void removeValueByIndex(int index);
	int indexOf(QString value);
	void clear();
	int size();
public:
	QVector<QString>							_valueVector;
};